<template>
  <div class="wq-breadcrumb">
    <div class="page-title" v-for="(item, index) in $route.meta" :key="index">
      {{ item }}
       <el-breadcrumb separator=">" class="pr30 pt15 r">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="(item, index) in $route.meta" :key="index">{{ item }}</el-breadcrumb-item>
    </el-breadcrumb>
    </div> 
  </div>
</template>
<script>
export default {
  props: ['title'],
  data() {
    return {}
  }
}
</script>
<style scoped>
.wq-breadcrumb {
  padding-left: 30px;
  height: 40px;
  line-height: 40px;
  border-bottom: 1px solid #ccc;
}
.el-breadcrumb{
  height: 40px;
  line-height: 40px;
  float:right;
  margin-right: 30px;
}
</style>